<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>汇款记录</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link href="${ctx }/css/style.css" type="text/css" rel="stylesheet" />
		<script type="text/javascript" src="${ctx }/js/jquery/jquery-1.6.1.min.js"></script>
		<script type="text/javascript" src="${ctx }/js/util.js"></script>
		<script type="text/javascript">
			$(function() {
				mergeTable("dataTable");
			});
		</script>
	</head>

	<body>
		<s:form id="form1" action="listPostHistory" method="post" namespace="/post">
			<div>
				<div style="width: 100%; height: 30px; text-align: left;">
					当前位置：汇款记录
				</div>
				<div style="width: 100%; background-color: #EDDEA0; height: 30px; border: 1px solid gray;">
					<b>您 的 汇 款 记 录</b>
				</div>

				<div style="width: 100%; background-color: #FBF7E6">
					<table id="dataTable" cellspacing="2" cellpadding="3" border="1" style="background-color:#DEBA84;border-color:#DEBA84;border-width:1px;border-style:None;width:100%;">
						<thead>
							<tr style="color:White;background-color:#A55129;font-weight:bold; font-size: 11px;">
								<th style="width: 12%">汇款人</th>
								<th style="width: 18%">汇款金额(元)</th>
								<th style="width: 15%">汇款银行</th>
								<th style="width: 22%">汇款时间</th>
								<th>备注</th>
							</tr>
						</thead>
						<tbody>
							<s:if test="page.data.size() == 0">
								<tr style="color:#000066;background-color:#FFF7E7; font-size: 13px; text-align: center;">
									<td colspan="5">暂无汇款历史记录！</td>
								</tr>
							</s:if>
							<s:else>
								<s:iterator value="page.data">
									<tr style="color:#000066;background-color:#FFF7E7; font-size: 13px;">
										<td>
											<input type="hidden" name="trid" value='<s:property value="username" />' />
											<s:property value="username" />
										</td>
										<td>
											<s:property value="money" />
										</td>
										<td>
											<input type="hidden" name="trbank" value='<s:property value="bank" />' />
											<s:property value="bank" />
										</td>
										<td>
											<s:property value="postTime" />
										</td>
										<td>
											<s:property value="postDesc" />
										</td>
									</tr>
								</s:iterator>
							</s:else>
						</tbody>
					</table>
				</div>
			</div>
		</s:form>
	</body>
</html>
